package com.hung.my.dao;

import java.util.List;

public interface BaseDao <E> {

	boolean add(E entity);
	boolean update(E entity);
	boolean delete(E entity);
	
	E find(E entity);
	
	List<E> fillAll();
	
	List<E> findRange(int from, int to);
	
	int count();
	
	E getById(int Id);
}
